package com.nbjtjc.safe.mapper.safe;

import com.nbjtjc.safe.model.safe.SafeEnterprise;
import com.nbjtjc.safe.model.safe.SafeUserPlan;
import com.nbjtjc.util.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SafeUserPlanMapper extends MyMapper<SafeUserPlan> {

    @ResultMap("BaseResultMap")
    @Select("select * from safe_user_plan where plan_id=#{planId}")
    List<SafeUserPlan> findByPlanId(int planId);
}